﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000BE5 RID: 3045
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyUpgradeAssetScRsp : IMessage<MonopolyUpgradeAssetScRsp>, IMessage, IEquatable<MonopolyUpgradeAssetScRsp>, IDeepCloneable<MonopolyUpgradeAssetScRsp>, IBufferMessage
	{
		// Token: 0x17002654 RID: 9812
		// (get) Token: 0x0600882A RID: 34858 RVA: 0x00169719 File Offset: 0x00167919
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyUpgradeAssetScRsp> Parser
		{
			get
			{
				return MonopolyUpgradeAssetScRsp._parser;
			}
		}

		// Token: 0x17002655 RID: 9813
		// (get) Token: 0x0600882B RID: 34859 RVA: 0x00169720 File Offset: 0x00167920
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyUpgradeAssetScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002656 RID: 9814
		// (get) Token: 0x0600882C RID: 34860 RVA: 0x00169732 File Offset: 0x00167932
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyUpgradeAssetScRsp.Descriptor;
			}
		}

		// Token: 0x0600882D RID: 34861 RVA: 0x00169739 File Offset: 0x00167939
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyUpgradeAssetScRsp()
		{
		}

		// Token: 0x0600882E RID: 34862 RVA: 0x00169741 File Offset: 0x00167941
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyUpgradeAssetScRsp(MonopolyUpgradeAssetScRsp other) : this()
		{
			this.lNDLACLKFHK_ = other.lNDLACLKFHK_;
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600882F RID: 34863 RVA: 0x00169772 File Offset: 0x00167972
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyUpgradeAssetScRsp Clone()
		{
			return new MonopolyUpgradeAssetScRsp(this);
		}

		// Token: 0x17002657 RID: 9815
		// (get) Token: 0x06008830 RID: 34864 RVA: 0x0016977A File Offset: 0x0016797A
		// (set) Token: 0x06008831 RID: 34865 RVA: 0x00169782 File Offset: 0x00167982
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LNDLACLKFHK
		{
			get
			{
				return this.lNDLACLKFHK_;
			}
			set
			{
				this.lNDLACLKFHK_ = value;
			}
		}

		// Token: 0x17002658 RID: 9816
		// (get) Token: 0x06008832 RID: 34866 RVA: 0x0016978B File Offset: 0x0016798B
		// (set) Token: 0x06008833 RID: 34867 RVA: 0x00169793 File Offset: 0x00167993
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06008834 RID: 34868 RVA: 0x0016979C File Offset: 0x0016799C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyUpgradeAssetScRsp);
		}

		// Token: 0x06008835 RID: 34869 RVA: 0x001697AA File Offset: 0x001679AA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyUpgradeAssetScRsp other)
		{
			return other != null && (other == this || (this.LNDLACLKFHK == other.LNDLACLKFHK && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008836 RID: 34870 RVA: 0x001697E8 File Offset: 0x001679E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.LNDLACLKFHK != 0U)
			{
				num ^= this.LNDLACLKFHK.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008837 RID: 34871 RVA: 0x00169840 File Offset: 0x00167A40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008838 RID: 34872 RVA: 0x00169848 File Offset: 0x00167A48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008839 RID: 34873 RVA: 0x00169854 File Offset: 0x00167A54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Retcode);
			}
			if (this.LNDLACLKFHK != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.LNDLACLKFHK);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600883A RID: 34874 RVA: 0x001698B0 File Offset: 0x00167AB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.LNDLACLKFHK != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LNDLACLKFHK);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600883B RID: 34875 RVA: 0x00169908 File Offset: 0x00167B08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyUpgradeAssetScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.LNDLACLKFHK != 0U)
			{
				this.LNDLACLKFHK = other.LNDLACLKFHK;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600883C RID: 34876 RVA: 0x00169958 File Offset: 0x00167B58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600883D RID: 34877 RVA: 0x00169964 File Offset: 0x00167B64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					if (num != 64U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.LNDLACLKFHK = input.ReadUInt32();
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040033C9 RID: 13257
		private static readonly MessageParser<MonopolyUpgradeAssetScRsp> _parser = new MessageParser<MonopolyUpgradeAssetScRsp>(() => new MonopolyUpgradeAssetScRsp());

		// Token: 0x040033CA RID: 13258
		private UnknownFieldSet _unknownFields;

		// Token: 0x040033CB RID: 13259
		public const int LNDLACLKFHKFieldNumber = 8;

		// Token: 0x040033CC RID: 13260
		private uint lNDLACLKFHK_;

		// Token: 0x040033CD RID: 13261
		public const int RetcodeFieldNumber = 7;

		// Token: 0x040033CE RID: 13262
		private uint retcode_;
	}
}
